<!DOCTYPE html >
<html lang="zh-CN">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <title>任务列表</title>
    <meta charset="utf-8">
    <script src="http://static.qiyi.com/qui/0.8.0/js/qui.js"></script>
    <script charset="utf-8" type="text/javascript" src="js/qui_0.8.0/jquery.qui.suggest.js?v=2014122229711"></script>
    <link rel="stylesheet" href="http://static.qiyi.com/qui/0.8.0/css/themes/lego/theme.css">
    <link rel="stylesheet" href="./css/copyLego.css">
    <script type="text/javascript">
        document.write('<scri' + 'pt src="./js/record.js?v=1" charset="utf-8" type="text/javascript"></s' + 'cript>');
    </script>
</head>
<style type="text/css">
    .ui-jqgrid tr.jqgrow td {
        white-space: normal !important;
        word-wrap: break-word;
        height: auto;
        vertical-align: text-top;
        padding-top: 2px;
    }
</style>
<body class="skin-lego">
<header class="main-header">

</header>
<div class="main-wrapper">
    <div class="main-content" id="j-pjax-container">
        <div class="content-wrapper">
            <section class="content-header">
                <ol class="breadcrumb">
                    <li>收录系统</li>
                    <li class="active">任务列表</li>
                </ol>
            </section>
            <section class="content">
                <div class="container-fluid">
                    <div id="j-view-container">
                        <form class="form-inline grid-query-form" id="query-record-library-form" role="queryForm">
                            <div class="form-container">
                                <div class="container-fluid">
                                    <div class="row">
                                        <div class="col-lg-3 col-md-6 col-sm-6 col-xs-12">
                                            <div class="form-group query-group">
                                                <label class="control-label">栏目名称</label>
                                                <input type="text" class="form-control" role="query-text"
                                                       name="LIKES_col.col_name">
                                            </div>
                                        </div>
                                        <input type="text" class="form-control" role="query-text" style="display: none"
                                               name="EQL_channel.id">
                                        <div class="col-lg-3 col-md-6  col-xs-12" id="belong_channel_div" style="display: none">
                                            <div class="form-group query-group">
                                                <label class="control-label">所属频道</label>
                                                <input type="text" class="form-control" role="query-text"
                                                       name="LIKES_channel.channel_name">
                                            </div>
                                        </div>
                                        <div class="col-lg-3 col-md-6 col-xs-12">
                                            <div class="form-group query-group">
                                                <label class="control-label">有无版权</label>
                                                <select class="form-control j-query-multiple j-query-ignore"
                                                        name="EQI_col.has_auth" role="query-select">
                                                    <option value="">全部</option>
                                                    <option value="1">有</option>
                                                    <option value="0">无</option>
                                                </select>
                                            </div>
                                        </div>
                                        <div class="col-lg-3 col-md-6  col-xs-12">
                                            <div class="form-group query-group">
                                                <label class="control-label">素材分类</label>
                                                <select class="form-control j-query-multiple j-query-ignore"
                                                        name="EQI_col.category_id" role="query-select">
                                                </select>
                                            </div>
                                        </div>

                                        <div class="col-lg-6 col-md-12 col-sm-12 col-xs-12">
                                            <div class="form-group query-group j-datetimepicker-group">
                                                <label class="control-label">开始时间</label>

                                                <div class="input-group">
                                                    <input type="text" name="GES_record_task.task_start_time"
                                                           class="form-control j-query-ignore j-datetimepicker"
                                                           placeholder="YYYY-mm-dd hh:mm:ss" role="query-text">
                                                    <span class="input-group-addon">-</span>
                                                    <input type="text" name="LES_record_task.task_start_time"
                                                           class="form-control j-query-ignore j-datetimepicker"
                                                           placeholder="YYYY-mm-dd hh:mm:ss" role="query-text">
                                                </div>
                                            </div>
                                        </div>

                                        <div class="col-lg-3 col-md-6  col-xs-12">
                                            <div class="form-group query-group">
                                                <label class="control-label">执行状态</label>
                                                <select class="form-control j-query-multiple j-query-ignore"
                                                        name="EQI_record_task.task_status" role="query-select">
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </form>
                        <form class="form-inline grid-query-form">
                            <div class="form-container">
                                <div class="container-fluid">
                                    <div class="row">
                                        <button type="button" name="query_btn" class="btn">搜索</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                        <form class="form-inline grid-query-form">
                            <div class="form-container">
                                <div class="container-fluid">
                                    <table id="list">
                                        <tr>
                                            <td></td>
                                        </tr>
                                    </table>
                                    <div id="pager"></div>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </section>
        </div>
    </div>
</div>

</body>
<script type="text/javascript">
    require(['record', 'qui/vendors/spark-md5/js/spark-md5'], function () {
        Ancestor.Auth.getAuthData({ url: "/epg/record_task.html"}, function (rdata) {
            Record.Action.runTaskList();
        })
    })
</script>
</html>